import {
  request
} from "./request.js"
export function getMusicList() {
  return request({
    url: `/login/status`,
    method:'get'
  })
}
//获取歌单中歌曲
export function getUrll(id) {
  return request({
    url: `song/url?id=${id}`,
    method:'get'
  })
}
//获取歌单信息
export function getlistDetails(listid){
	return request({
		url:`/playlist/detail?id=${listid}`,
		method:'get'
	})
}
// 播放歌曲
export function playGdMusic(id) {
  return request({
    url: `/song/url?id=${id}`,
    method:'get'
  })
}
export function playcomments(id){
	return request({
		url:`/comment/playlist?id=${id}`,
		method:'get'
	})
}

// 获取歌单的所有歌曲
export function getSongList(list) {
  return request({
    url: `/song/detail?ids=${list}`,
    method:'get'
  })
}

export function getMusicComment(){
	return request({
		url:`/comment/music?id=186016&limit=1`,
		method:'get'
	})
}

//每日推荐获取
export function getEverydayrecommend(){
	return request({
		url:`/recommend/songs`,
		method:"get"
		
	})
}
